package com.lb.activity.service.impl;

import com.lb.activity.mapper.PermissionMapper;
import com.lb.activity.service.PermissionService;
import com.lb.activity.vo.Permission;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author 001030
 */
@Service
public class PermissionServiceImpl implements PermissionService {

    @Resource
    private PermissionMapper permissionMapper;

    @Override
    public Permission getPermission(Long permissionid) {
        return permissionMapper.selectByPrimaryKey(permissionid);
    }
}
